package com.fa4j.system.settings;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(contextId = "settingsClient", name = "fa4j-system", path = "system/settings")
public interface SettingsClient {

    @GetMapping("byCode/{code}")
    String findByCode(@PathVariable String code);
}
